package cn.chia.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userid;
	private String userName;
	private String wid;
	private String tname;
	private String userEmail;
	private String password;
	private String shengri;
	private String mob;
	private Integer jifen;
	private Integer dengji;
	private Integer sex;
	private Timestamp addDate;
	private Integer logins;
	private Timestamp lastlogin;
	private Boolean dealers;
	private String md5uuc;
	private Boolean check1;
	private String defaultaddress;
	private Double balance;
	private Boolean del;
	private String keycode;
	private Long deadtime;
	private String latitude;
	private String longitude;
	private String precisions;
	private String laAloAddress;
	private Integer regionId;
	private Integer defaultId;
	private String idNo;
	private String photo;
	private Integer flag;
	private Set addresses = new HashSet(0);
	private Set orderses = new HashSet(0);
	private Set tblShopcars = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(String userName, String wid, String tname, String userEmail,
			String password, String shengri, String mob, Integer jifen,
			Integer dengji, Integer sex, Timestamp addDate, Integer logins,
			Timestamp lastlogin, Boolean dealers, String md5uuc,
			Boolean check1, String defaultaddress, Double balance, Boolean del,
			String keycode, Long deadtime, String latitude, String longitude,
			String precisions, String laAloAddress, Integer regionId,
			Integer defaultId, String idNo, String photo, Integer flag,
			Set addresses, Set orderses, Set tblShopcars) {
		this.userName = userName;
		this.wid = wid;
		this.tname = tname;
		this.userEmail = userEmail;
		this.password = password;
		this.shengri = shengri;
		this.mob = mob;
		this.jifen = jifen;
		this.dengji = dengji;
		this.sex = sex;
		this.addDate = addDate;
		this.logins = logins;
		this.lastlogin = lastlogin;
		this.dealers = dealers;
		this.md5uuc = md5uuc;
		this.check1 = check1;
		this.defaultaddress = defaultaddress;
		this.balance = balance;
		this.del = del;
		this.keycode = keycode;
		this.deadtime = deadtime;
		this.latitude = latitude;
		this.longitude = longitude;
		this.precisions = precisions;
		this.laAloAddress = laAloAddress;
		this.regionId = regionId;
		this.defaultId = defaultId;
		this.idNo = idNo;
		this.photo = photo;
		this.flag = flag;
		this.addresses = addresses;
		this.orderses = orderses;
		this.tblShopcars = tblShopcars;
	}

	// Property accessors

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	public String getTname() {
		return this.tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getShengri() {
		return this.shengri;
	}

	public void setShengri(String shengri) {
		this.shengri = shengri;
	}

	public String getMob() {
		return this.mob;
	}

	public void setMob(String mob) {
		this.mob = mob;
	}

	public Integer getJifen() {
		return this.jifen;
	}

	public void setJifen(Integer jifen) {
		this.jifen = jifen;
	}

	public Integer getDengji() {
		return this.dengji;
	}

	public void setDengji(Integer dengji) {
		this.dengji = dengji;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Timestamp getAddDate() {
		return this.addDate;
	}

	public void setAddDate(Timestamp addDate) {
		this.addDate = addDate;
	}

	public Integer getLogins() {
		return this.logins;
	}

	public void setLogins(Integer logins) {
		this.logins = logins;
	}

	public Timestamp getLastlogin() {
		return this.lastlogin;
	}

	public void setLastlogin(Timestamp lastlogin) {
		this.lastlogin = lastlogin;
	}

	public Boolean getDealers() {
		return this.dealers;
	}

	public void setDealers(Boolean dealers) {
		this.dealers = dealers;
	}

	public String getMd5uuc() {
		return this.md5uuc;
	}

	public void setMd5uuc(String md5uuc) {
		this.md5uuc = md5uuc;
	}

	public Boolean getCheck1() {
		return this.check1;
	}

	public void setCheck1(Boolean check1) {
		this.check1 = check1;
	}

	public String getDefaultaddress() {
		return this.defaultaddress;
	}

	public void setDefaultaddress(String defaultaddress) {
		this.defaultaddress = defaultaddress;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Boolean getDel() {
		return this.del;
	}

	public void setDel(Boolean del) {
		this.del = del;
	}

	public String getKeycode() {
		return this.keycode;
	}

	public void setKeycode(String keycode) {
		this.keycode = keycode;
	}

	public Long getDeadtime() {
		return this.deadtime;
	}

	public void setDeadtime(Long deadtime) {
		this.deadtime = deadtime;
	}

	public String getLatitude() {
		return this.latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return this.longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getPrecisions() {
		return this.precisions;
	}

	public void setPrecisions(String precisions) {
		this.precisions = precisions;
	}

	public String getLaAloAddress() {
		return this.laAloAddress;
	}

	public void setLaAloAddress(String laAloAddress) {
		this.laAloAddress = laAloAddress;
	}

	public Integer getRegionId() {
		return this.regionId;
	}

	public void setRegionId(Integer regionId) {
		this.regionId = regionId;
	}

	public Integer getDefaultId() {
		return this.defaultId;
	}

	public void setDefaultId(Integer defaultId) {
		this.defaultId = defaultId;
	}

	public String getIdNo() {
		return this.idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Set getAddresses() {
		return this.addresses;
	}

	public void setAddresses(Set addresses) {
		this.addresses = addresses;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

	public Set getTblShopcars() {
		return this.tblShopcars;
	}

	public void setTblShopcars(Set tblShopcars) {
		this.tblShopcars = tblShopcars;
	}

}